package com.hkts.beltweigher.master.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.beltweigher.master.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hml
 * @since 2024-04-23
 */
public interface IUserService extends IService<User> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param user
         * @return
         */
        IPage<User> selectPage(Page<User> page, User user);

        List<User> selectList(User user);

        User getUserByUserName(String username);
        }